package com.xmy.cultivate.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xmy.cultivate.entity.TrainPrepare;
import com.xmy.cultivate.mapper.TrainPrepareMapper;
import com.xmy.cultivate.service.ITrainPrepareService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 教师备课资料设置 服务实现类
 * </p>
 *
 * @author hpiggy
 * @since 2025-08-16
 */
@Service
public class TrainPrepareServiceImpl extends ServiceImpl<TrainPrepareMapper, TrainPrepare> implements ITrainPrepareService {
    @Autowired
    private TrainPrepareMapper trainPrepareMapper;


    @Override
    public IPage<TrainPrepare> findAll(IPage<?> page, String yearPart, String quarterNum, String yearClassId, String subjectsId, String classTypeId,String lessonType,
                                       String versionId){
        return trainPrepareMapper.findAll(page, yearPart, quarterNum, yearClassId, subjectsId, classTypeId,lessonType,versionId);
    }

}
